<script lang="ts" setup>
// import { isDark } from '~/composables/dark'
// 注释掉了dark属性，:dark="isDark"

</script>
<template>
<span class="vp-tag beta">beta</span>
  <p>您可以自定义按钮的颜色。</p>
  <p>我们将自动计算按钮处于 hover 和 active 状态时的颜色。</p>
  <div>
    <el-button color="#626aef" >Default</el-button>
    <el-button color="#626aef"  plain>Plain</el-button>
    <el-button color="#626aef"  disabled>Disabled</el-button>
    <el-button color="#626aef"  disabled plain>
      Disabled Plain
    </el-button>
  </div>
</template>


<style scoped>
@import '../../assets/elementPlusDemo.css'
</style>